-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: add auto_monitoring_config in GKE managed_prometheus #2420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add auto_monitoring_config in GKE managed_prometheus #2420
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
5151105 to
dafb16b
Compare
dafb16b to
ba27a17
Compare
|
/gcbrun |
|
/gcbrun |
|
/gcbrun |
|
Can we get a review on this? Would be nice to get this added in. |
|
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds support for auto_monitoring_config within the managed_prometheus block for GKE clusters. A new variable, monitoring_auto_monitoring_config_scope, is introduced to control this feature. The changes are consistently applied across all relevant modules, templates, and documentation files. The implementation is correct and follows the established patterns in the repository. I have one minor suggestion to improve the validation error message for the new variable to make it more descriptive for users.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ], | ||
| var.monitoring_auto_monitoring_config_scope | ||
| ) | ||
| error_message = "'monitoring_auto_monitoring_config_scope' value is invalid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
/gcbrun |
Issue: #2409